package com.qinge.blog.service;

import com.qinge.blog.entity.BlogContent;
import com.qinge.blog.entity.BlogContentTag;
import com.qinge.blog.entity.BlogTag;
import com.qinge.blog.vo.BlogContentVO;

import java.util.List;

/**
 * @author QDW
 * @date 2022-05-02 23:38:51
 * @description BlogContentTag service层类
 */
public interface BlogContentTagService  {
    void add(BlogContentTag ... contentTags);

    void addByList(List<BlogContentTag> contentTags);

    void removeByConIds(String ...conIds);

    void removeByTagIds(String ... tagIds);

    void removeByConIdList(List<String> conIds);

    void removeByTagIdList(List<String> catIds);

    List<BlogContent> findContentsByTag(String tagId);

    int findCountByTag(String tagId);

    List<BlogTag> findTagsByConId(String ConId);
}

